<form id="add-form" class="form-horizontal form-ajax" role="form" data-toggle="validator" method="POST" action="">
    {:token()}
    <div class="form-group">
        <label for="email" class="control-label col-xs-12 col-sm-2">商家所属名称:</label>
        <div class="col-xs-12 col-sm-8">
            <select id="type" data-rule="required" class="form-control"  name="row[type]">
                {foreach name="type_arr" id="vo" }
                <option value="{$vo}">{$vo}</option>
                {/foreach}
                
            </select>
        </div>
    </div>
    <div class="form-group form-input form-input-title">
		<label class="control-label col-xs-12 col-sm-2">类目名称：</label>
		<div class="col-xs-12 col-sm-8">
			<input  data-rule="required" class="form-control form-control" placeholder="请输入该任务所属类目名称,多个逗号(,)分隔" name="row[name]" type="text" value="">
		</div>
	</div>
    <div class="form-group hidden layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed ">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
